import axios from "axios"

import { IProductInputDto } from '../interface/ProductList'

export const getProduct = async (data: IProductInputDto) => {
    var res = await axios.get("api/Product", {
       params: {
          data
       }
    });
    return res.data;
 }